package cn.iocoder.yudao.module.erp.controller.admin.suppliersendorder.vo;

import cn.iocoder.yudao.module.erp.dal.dataobject.suppliersendorderitem.SupplierSendOrderItemDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - ERP 随货同行单新增/修改 Request VO")
@Data
public class SupplierSendOrderSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31789")
    private String id;

    @Schema(description = "随货同行单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26219")
    private String outOrderId;

    @Schema(description = "一级库整合单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18517")
    private String integrateId;

    @Schema(description = "采购单编号-提交供应商采购单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4812")
    private String purchaseOrderId;

    @Schema(description = "供应商编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18618")
    private Long supplierId;

    @Schema(description = "发货时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime sendTime;

    @Schema(description = "合计价格，单位：元", requiredMode = Schema.RequiredMode.REQUIRED, example = "28771")
    private BigDecimal totalPrice;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "状态")
    private Integer statusTwo;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "23285")
    private String processInstanceId;

    @Schema(description = "ERP 随货同行单项列表")
    private List<SupplierSendOrderItemDO> supplierSendOrderItems;

}